package lms.service;

import java.util.List;

/**
 * @description:
 * @author: Grape_Pip
 * @time: 2021/06/22
 */
public interface OperationService<V> {
    /**
     * @return java.util.List<V>
     * @Description //TODO
     * @Param []
     **/
    List<V> selectedAllInfo();

    /**
     * @return boolean
     * @Description //TODO
     * @Param [vid]
     **/
    boolean deletedById(int vid);

    /**
     * @return boolean
     * @Description //TODO
     * @Param [vid]
     **/
    boolean updatedById(int vid,V obj);

    /**
     * @return boolean
     * @Description //TODO
     * @Param [object]
     **/
    boolean insertedInfo(V object);

    /**
     * @return V
     * @Description //TODO
     * @Param [vid]
     **/
    V selectedById(int vid);

    boolean updateStocksById(int bid,int bNum);
}
